package com.mofang.ticketing.base.mapping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mofang.ticketing.base.mapping.entity.SysAttachmentDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 系统图片Mapper
 * @author ChenDongDong
 * @createDate 2022/10/8 9:36
 * @version 1.0
 */
public interface SysAttachmentDOMapper extends BaseMapper<SysAttachmentDO> {
    /**
     * 批量更新
     * @param list 实体集合
     * @return 成功条数
     */
   int updateBatchSelective(List<SysAttachmentDO> list);

    /**
     * 批量新增
     * @param list 实体集合
     * @return 成功条数
     */
   int batchInsert(@Param("list") List<SysAttachmentDO> list);

}